/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for ThongbaoBL
/// </summary>
namespace DOAN.BL 
{
    public class ThongbaoBL 
    {
    	#region Private Variables
		ThongbaoDAL objThongbaoDAL;
		#endregion
		
        #region Public Constructors
        public ThongbaoBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objThongbaoDAL=new ThongbaoDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(ThongbaoDO objThongbaoDO)
        {
            return objThongbaoDAL.Insert(objThongbaoDO);
        }

        public int Update(ThongbaoDO objThongbaoDO)
        {
             return objThongbaoDAL.Update(objThongbaoDO);

        }

        public int Delete(ThongbaoDO objThongbaoDO)
        {
             return objThongbaoDAL.Delete(objThongbaoDO);

        }

         public int DeleteAll()
        {
             return objThongbaoDAL.DeleteAll();
        }

        public ThongbaoDO Select(ThongbaoDO objThongbaoDO)
        {
            return objThongbaoDAL.Select(objThongbaoDO);
        }

        public ArrayList SelectAll1( )
        {
         return objThongbaoDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objThongbaoDAL.SelectAll();
        }


     
#endregion          
    
    }

}
